<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="cn.pzhu.jspdb.dao.UserDao" %>
<%
	String idStr=request.getParameter("id");
	//out.println("del id="+idStr);
	int id=Integer.parseInt(idStr);
	
	if(new UserDao().delById(id)){
		response.sendRedirect("list.jsp");
	}else{
		out.println("Del Error");
	}
%>